﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class DocInfo
    {
        /// <summary>
        /// 文档序号，在一个模板中自定义的不可重复的序号。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "docId", Required = Required.AllowNull)]
        public int DocId { get; set; }

        /// <summary>
        /// 文档名称。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "docName", Required = Required.Always)]
        public string DocName { get; set; }
    }
}